import { Rule, LinValidator } from 'lin-mizar';

class CreateMalfunctionTypeValidator extends LinValidator {
  constructor () {
    super();
    this.name = new Rule('isNotEmpty', '必须故障名称');
    this.type = new Rule('isNotEmpty', '电梯类型');
  }
}

export {
  CreateMalfunctionTypeValidator
};
